﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;

namespace HZT.Core.Config
{
    /// <summary>
    /// 数据库连接串配置
    /// </summary>
    public class DBConfig
    {

        public static string ADConnString()
        {
            try
            {
                return ConfigurationManager.AppSettings["ADContext"].ToString();
            }
            catch
            {
                return "Name=ADContext";
            }
        }
    }
}
